﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Windows.Forms;

namespace WindowsFormsApp0
{
    public partial class shang_dan0 : Form
    {
        public static shang_dan_3overUserControl w1;
        public static shang_dan_2songUserControl1 w2;
        public static shang_dan_1qveUserControl1 w3;

        public shang_dan0()
        {
            InitializeComponent();
        }

        private void groupBox1_Enter(object sender, EventArgs e)
        {

        }

        private void shang_dan0_Load(object sender, EventArgs e)
        {
            w1 = new shang_dan_3overUserControl();
            w2 = new shang_dan_2songUserControl1();
            w3 = new shang_dan_1qveUserControl1();
            w3.Show();
            groupBox1.Controls.Clear();
            groupBox1.Controls.Add(w3);

        }

        private void button1_Click(object sender, EventArgs e)
        {
            w1.Show();
            groupBox1.Controls.Clear();
            groupBox1.Controls.Add(w1);

        }

        private void button2_Click(object sender, EventArgs e)
        {
            w2.Show();
            groupBox1.Controls.Clear();
            groupBox1.Controls.Add(w2);

        }

        private void button3_Click(object sender, EventArgs e)
        {
            w3.Show();
            groupBox1.Controls.Clear();
            groupBox1.Controls.Add(w3);

        }
    }
}
